package cn.vshare.service;

import cn.vshare.entity.Trade;
import com.github.pagehelper.Page;

import java.util.Map;

public interface TradeService {

    void addTrade(Trade trade);

    Page<Trade> getTradeByDynamic(Map map);

    /**
     * 统计一段时间的交易金额
     * @return
     * @author penghaixin
     */
    Integer countTradeMoney(Map<String, Object> map);


}
